{%extends "base.html"%}
{%block body%}
<table cellpadding="2" width="100%" class="smallfont" border="0">
  <tr>
  	<td > Page: {{StringPaging}}</td>
  </tr>
</table> 
<br />

<table border="1" cellpadding="2" style="border-collapse: collapse" bordercolor="#C9C9C9" width="700">
  <tr class="title">
    <td align="center" width="300" ><b>Email</b></td>
	<td align="center" width="300" ><b>Password</b></td>
	<td align="center" width="300" ><b>Expire Date</b></td>
    <td align="center" width="150" ><b>Status</b></td>
	<td width="100">&nbsp;</td>
    <td width="100">&nbsp;</td>
  </tr>
  {%for item in items%}
	  <tr class="smallfont">
	    <td >{{item.name}}</td>
		<td >{{item.password}}</td>
		<td >{{item.expire_date}}</td>
		<td >{{item.status}}</td>
		<td><a href="/vuser/edit/{{item.key.id}}">Edit</a></td>
	    <td><a href="/vuser/delete/{{item.key.id}}">Delete</a></td>

	  </tr>
  {%endfor%}
  </table>
<br />
<p><input type="button" value="Add" name="Add" onclick="window.location='vuser/add'"  /></p>
{%endblock%}
